]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
messageTray: restore toggle tray in normal mode (non overview)
authorAlban Browaeys <prahal@yahoo.com>
Sat, 17 Nov 2012 03:49:13 +0000 (04:49 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 19 Nov 2012 23:01:39 +0000 (00:01 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=688507

js/ui/messageTray.js

index d69d31b9b611dde96b03213aef5b2f5748c29883..161749027698a03750da0cbd454d1d30488f9d51 100644 (file)
@@ -1521,12 +1521,14 @@ const MessageTray = new Lang.Class({
         Main.wm.addKeybinding('toggle-message-tray',
                               new Gio.Settings({ schema: SHELL_KEYBINDINGS_SCHEMA }),
                               Meta.KeyBindingFlags.NONE,
+                              Main.KeybindingMode.NORMAL |
                               Main.KeybindingMode.MESSAGE_TRAY |
                               Main.KeybindingMode.OVERVIEW,
                               Lang.bind(this, this.toggleAndNavigate));
         Main.wm.addKeybinding('focus-active-notification',
                               new Gio.Settings({ schema: SHELL_KEYBINDINGS_SCHEMA }),
                               Meta.KeyBindingFlags.NONE,
+                              Main.KeybindingMode.NORMAL |
                               Main.KeybindingMode.MESSAGE_TRAY |
                               Main.KeybindingMode.OVERVIEW,
                               Lang.bind(this, this._expandActiveNotification));